package com.wushi.lenovo.asia5b.app_di.profile.mvpview;

import com.mvp.base.LoadMvpView;
import com.mvp.base.model.ResultModel;
import com.wushi.lenovo.asia5b.app_model.profile.CountryModel;
import com.wushi.lenovo.asia5b.app_model.profile.PostCodeModel;
import com.wushi.lenovo.asia5b.app_model.profile.ProvinceOrCityModel;

import java.util.List;

public interface NewAddressActivityView extends LoadMvpView {
    void getCountrysResult(List<CountryModel> countryModels);

    void getProvincesResult(ResultModel<List<ProvinceOrCityModel>> resultModel);

    void getCityesResult(ResultModel<List<ProvinceOrCityModel>> resultModel);

    void addAddressResult(ResultModel resultModel, boolean isShipAddressDefault, boolean isBillAddressDefault);

    void updateAddressResult(ResultModel resultModel, boolean isShipAddressDefault, boolean isBillAddressDefault);

    void getPostCodeByCityResult(ResultModel<PostCodeModel> resultModel);

    void getCountrysStateCityPostResult(List<CountryModel> countrys, List<ProvinceOrCityModel> provinces, List<ProvinceOrCityModel> cityes, PostCodeModel postCodeByCity);
}